<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    function fn() {
        console.log("fn (>^ω^<)喵" , this)
    }

    var obj = {
        name:"obj",
        fn
    }


    fn() // 普通调用
    obj.fn()//隐式调用
    fn.call({name:"call"}) //显示调用
    fn.apply({name:"apply"}) //显示调用
    var fnobj = new fn() // 构造调用
    fnobj.name = "fnobj"
</script>
</html>